package com.cube.truthseer.common.entity.constants;


import com.cube.truthseer.common.utils.StringUtil;

public interface MqConstants {
    interface Exchange {

        /*图片有关的交换机*/
        String PICTURE_EXCHANGE = "picture.topic";


        /*分类有关的交换机*/
        String CATEGORY_EXCHANGE = "category.topic";

        /*桶有关的交换机*/
        String BUCKET_EXCHANGE = "category.topic";

        /*回收站有关的交换机*/
        String RECYLE_EXCHANGE = "recyle.topic";

        /*用户有关的交换机*/
        String USER_RECORD_EXCHANGE = "user.topic";

        /*消息有关的交换机*/
        String EMAIL_EXCHANGE = "email.topic";

        /*异常信息的交换机*/
        String ERROR_EXCHANGE = "error.topic";

    }

    interface Queue {
        String ERROR_QUEUE_TEMPLATE = "error.{}.queue";
    }

    interface Key {


        /*上传图片*/
        String NOTE_PICTURE_KEY = "note.picture.changed";

        /*单张图片下载*/
        String PICTURE_DWONLOAD = "note.picture.download";

        String BOTTLE_HANDLER = "bottle.handler";
        /*图片下载*/
        String PICTURE_DWONLOADS = "note.picture.downloads";

        /*后台计算桶容量*/
        String BUCKET_CAPACITY = "bucket.capacity";


        /*短信系统发送短信*/
        String EMAIL_MESSAGE = "email.message";




        /*异常RoutingKey的前缀*/
        String ERROR_KEY_PREFIX = "error.";
        String DEFAULT_ERROR_KEY = "error.#";


        String ORDER_DELAY_KEY = "delay.order.query";

    }
}
